package bz.yfw.example.s3blazeds.part1.service
{
	import com.google.appengine.api.datastore.Key;
	
	import org.seasar.akabana.yui.service.PendingCall;
	import org.seasar.akabana.yui.service.ds.RemotingService;
	
	import slim3.model.SampleModel;

	public class SampleModelService extends RemotingService
	{
		override public function SampleModelService(id:String=null)
		{
			super(id);
		}
		
		public function get(value:Key):PendingCall
		{
			return internalInvoke(new QName(null,"get"),[value]);
		}
		
		public function put(value:SampleModel):PendingCall
		{
			return internalInvoke(new QName(null,"put"),[value]);
		}
	}
}